<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>详情页</title>
    <include file="Common:header_include"/>
</head>
<body>
<include file="Common:index_include"/>

<!--头部开始-->
<div class="mainbox">
    <div class="newsed lf">
        <ul>
            <li class="b_back">患者/待诊疗 <b></b></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
        </ul>
        <ul>
            <li class="b_back b_news">患者/最新消息 <b></b></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
        </ul>
        <ul>
            <li class="b_back">患者/已诊断 <b></b></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
            <li><a href="javascript:;">张洁患者</a><a href="javascript:;">发来检查报告</a></li>
        </ul>
    </div>
    <div class="conts lf">
        <div class="conts_event">
            <p>事件<span class="rt">{:utf8_strcut($troubleinfolist['logtime'],0,10)}</span></p>
            <div class="conts_cot">
                <p>
                    <span><b></b>不适症状：<i>{$troubleinfolist['troubleinfo']['name']}</i></span>
                    <span><b></b>持续时长：<i>{$troubleinfolist['durationinfo']['name']}</i></span>
                </p>
                <p><span>症状描述：<i>{$troubleinfolist['description']}</i></span></p>
                <p> <span><b></b>医生诊断：<i>建议复查，做CT检查，胃镜检查。</i></span></p>
            </div>
        </div>
        <div class="chemical">
            <p>化验记录<span class="rt">20116-12-20<a  href="javascript:;">上一次</a><a href="javascript:;">下一次</a></span></p>
            <div class="chemical_img">
                <span class="lf">化验单：</span>
                <ul class="lf" id="layer-photos-demo">
                    <volist name="picturelist" id="v">
                        <li><img   layer-src="__UPS__{$v['cover']}" src="__UPS__{$v['cover']}" alt=""/></li>
                    </volist>
                </ul>
            </div>
            <div class="chemical_li">
                <ul>
                    <volist name="inspectionnamelist" id="v">
                        <if condition="!$_GET['inspectio']"></if>
                        <?php
                         $id=getinspectionid($v['inspectionname']);
                          if($_GET['inspection']=="" and $_GET['indexid']==""){
                            $_GET['inspection']=$id; $_GET['indexid']=$v['indexid'];
                          };
                       ?>
                        <li><a <if condition="$_GET['inspection'] eq $id">class="c_txt"</if>  href="?indexid={$v['indexid']}&inspection={$id}">{$v['inspectionname']}</a></li>
                    </volist>
                </ul>
                <span class="rt">折叠</span>
            </div>
            <div class="chemical_cont">
                <div class="chemical_cont_box"><table class="table text-center table-bordered">
                    <tr class="bg-success">
                        <th class="text-center">检测项</th>
                        <th class="text-center">结果</th>
                        <th class="text-center">参考值</th>
                        <th class="text-center">单位</th>
                        <th class="text-center">操作</th>
                    </tr>
                    <volist name=":getinspectioncontentlist($_GET['inspection'],$_GET['indexid'])" id="v">
                        <tr>
                            <?php
                              $arr=explode('-',$v['standardvalue']);
                              foreach($arr as $kk=>$vv){
                              }
                             ?>
                            <td>{$v['itemname']}</td>
                            <td>{$v['itemvalue']}</td>
                            <td>{$v['standardvalue']}</td>
                            <td>{$v['dosename']}</td>
                            <td>查看</td>
                        </tr>
                    </volist>
                </table>
                </div>
            </div>
        </div>
        <div class="daily">
            <p>日常记录<span class="rt">{$time}</span></p>
            <table class="table text-center table-bordered">
                <tr class="bg-success">
                    <th class="text-center">检测项</th>
                    <th class="text-center">结果</th>
                    <th class="text-center">单位</th>
                    <th class="text-center">操作</th>
                </tr>
                <volist name="dailyrecordlist" id="v">
                    <tr>
                        <td>{$v['dailyitem']['name']}</td>
                        <td>{$v['logvalue']}</td>
                        <td>{$v['dailyitem']['dimensionid']}</td>
                        <td>查看</td>
                    </tr>
                </volist>
            </table>
        </div>
        <div class="dose">
            <p>服药记录<span class="rt">{$time}</span></p>
            <table class="table text-center table-bordered">
                <tr class="bg-success">
                    <th class="text-center">药品</th>
                    <th class="text-center">剂量</th>
                    <th class="text-center">规格</th>
                    <th class="text-center">服药时间</th>
                    <th class="text-center">实际时间</th>
                    <th class="text-center">状态</th>
                </tr>
                <volist name="medicinelist" id="v">
                    <tr>
                        <td style="font-size: 12px">{$v['medicineinfo']['name']}</td>
                        <td>{$v['usecount']}</td>
                        <td>{$v['medicineinfo']['dose']}</td>
                        <td>{$v['usetime']}</td>
                        <td>09:00</td>
                        <td>
                            <if condition="!$v['hasservedtime']">未服</if>
                        </td>
                    </tr>
                </volist>
            </table>
        </div>
    </div>
    <div class="sick lf">
        <div class="sick_tlt">
            <ul class="treat">
                <li>
                    <a href="javascript:;">诊疗</a>
                    <ul>
                        <li><a href="javascript:;">来院复诊</a></li>
                        <li><a href="javascript:;">调整服药</a></li>
                        <li><a href="javascript:;">保持方案</a></li>
                        <li><a href="javascript:;">手动输入</a></li>
                        <li><a href="javascript:;">请继续检查</a></li>
                        <li><a href="javascript:;">移植肾失功</a></li>
                        <li><a href="javascript:;">诊疗</a></li>
                    </ul>
                </li>
                <li><a href="javascript:;">交流</a></li>
            </ul>
        </div>
        <div class="personal">
            <p class="per_tlt">患者信息</p>
            <ul>
                <li><span>姓名：</span><a href="javascript:;">{$operationInfo['patientid']['realname']}</a></li>
                <li><span>昵称：</span><a href="javascript:;">{$operationInfo['patientid']['nick']}</a></li>
                <li><span>性别：</span><a href="javascript:;"><if condition="$operationInfo['patientid']['sex']">男<else/>女</if></a></li>
                <li><span>出生日期：</span><a href="javascript:;">{:utf8_strcut($operationInfo['patientid']['birthday'],0,10)}</a></li>
                <li><span>年龄：</span><a href="javascript:;">{:birthday2($operationInfo['patientid']['birthday'])}</a></li>
                <li><span>血型：</span><a href="javascript:;">{:getfildname(bloodtypeinfo,$operationInfo['patientid']['bloodid'])}</a></li>
                <!--<li><span>患病时长：</span><a href="javascript:;">1年3个月</a></li>-->
                <!--<li><span>手术医院：</span><a href="javascript:;">西京医院</a></li>-->
                <li><span>联系电话：</span><a href="javascript:;">{$operationInfo['patientid']['phone']}</a></li>
                <li><span>联系地址：</span><a href="javascript:;">{$operationInfo['patientid']['address']}</a></li>
            </ul>
            <ul class="per_img">
                <li><img src="__UPS__{$operationInfo['patientid']['cover']}" alt=""/></li>
                <li><span>手术时间：</span><a href="javascript:;">{:utf8_strcut($operationInfo['operationtime'],0,10)}</a></li>
                <li><span>同供体患者：</span><a href="javascript:;">--</a></li>
                <li><span>器官来源：</span><a href="javascript:;">{$operationInfo['kidneysourcetype']['name']}</a></li>
            </ul>
            <p class="remark"><span>医生备注：</span><a href="javascript:;">患者血压偏高，症状不稳定，并发症可能
                出现糖尿病</a><b class="rt"></b></p>
        </div>
        <div class="calendar" style="background: purple">
            <img src="__HIMG__calendar.jpg" alt=""/>
        </div>
        <div class="funct_btn">
            <ul>
                <li><a href="javascript:;" onclick="showIframe('','{:U('medcineinfo',array('userid'=>$operationInfo['patientid']['id']))}','1050','900')">当前药单</a></li>
                <li><a href="javascript:;" onclick="showIframe('','{:U('healthrecord',array('userid'=>$operationInfo['patientid']['id']))}','1050','900')">档案袋</a></li>
                <li><a href="javascript:;">患者病历</a></li>
                <li><a href="javascript:;">生命史</a></li>
                <li><a href="javascript:;">诊断历史</a></li>
                <li><a href="javascript:;">配型信息</a></li>
            </ul>
        </div>
        <div class="add_event">
            <p class="per_tlt">添加事件</p>
            <div>
                <form action="">
                    <div class="form-group">
                        <label for="">事件日期</label>
                        <input type="date"/>
                    </div>
                    <div class="form-group">
                        <label for="">事件类型</label>
                        <span><input type="radio" name="max"/>一般事件</span>
                        <span><input type="radio" name="max"/>特殊事件</span>
                    </div>
                    <div class="form-group">
                        <label for="">患者可见</label>
                        <span><input type="radio" name="nax"/>患者可见</span>
                        <span><input type="radio" name="nax"/>患者隐藏</span>
                    </div>
                    <div class="form-group">
                        <b></b><textarea name="" id="" cols="30" rows="3" placeholder="请输入事件内容"></textarea>
                    </div>
                    <div class="form-group">
                        <button>取消</button><button>确定</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--尾部开始-->
<include file="Common:footer_include"/>
</body>
</html>